﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business.DailyCloseBook
{
    public class DailyCloseBookDetail : BaseLine
    {
        /// <summary>
        /// 生产单号
        /// </summary>
        public string PWSCode { get; set; }

        /// <summary>
        /// 工厂
        /// </summary>
        public string Factory { get; set; }

        /// <summary>
        /// 工厂描述
        /// </summary>
        public string FactoryDesc { get; set; }

        /// <summary>
        /// 申请开账原因
        /// </summary>
        public string ApplyReason { get; set; }

        /// <summary>
        /// 生产单物料
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料描述
        /// </summary>
        public string MaterialDesc { get; set; }

        /// <summary>
        /// 生产单数量
        /// </summary>
        public string Quantity { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// MRP
        /// </summary>
        public string MRP { get; set; }


        /// <summary>
        /// 同步次数
        /// </summary>
        public int SyncCount { get; set; } = 0;

        /// <summary>
        /// 是否同步成功
        /// </summary>
        public bool IsSyncSuccess { get; set; } = false;

        /// <summary>
        /// 同步结果
        /// </summary>
        public string SyncResult { get; set; }

        /// <summary>
        /// 同步时间
        /// </summary>
        public DateTime? SyncTime { get; set; }
    }
}
